define(['jquery', 'bootstrap', 'bootstrapPaginator'], function() {

	return {
		init: function() {
			
			$('#paginator').bootstrapPaginator({
				size: "small",
				bootstrapMajorVersion: 3,
				currentPage: $("#hidPage").val(),
				numberOfPages: 10,
				totalPages: $("#hidTotalCount").val(),
				pageUrl: function(type, page, current) {
					return "/#!/news/" + page;
				}
			});
		}
	};
});